<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 静态方法之间的互相调用，在一个静态方法中调用另一个静态方法，方法前面必须加上this关键字

        class Http{
            static request(){
                console.log("request");
            }
            static sayName(){
                this.request();
                console.log("sayname");
            }
        }
        Http.sayName() //request  sayname
    </script>
</body>
</html>